import { Button, Input } from 'antd';
import HookForm from '@/components/HookForm';

const HookFormView = () => {
	return (
		<HookForm>
			<HookForm.Item label="测试" name="test">
				<Input placeholder="请输入" />
			</HookForm.Item>
			<HookForm.Item>
				<Button htmlType="submit">提交</Button>
			</HookForm.Item>
		</HookForm>
	);
};

export default HookFormView;
